Skip to content

Some misc client side jQuery fixes#580

Merged
Martii merged 1 commit into
OpenUserJS:masterfrom
Martii:someClientSidejQueryFixes
Feb 10, 2015
Merged

Some misc client side jQuery fixes#580
Martii merged 1 commit into
OpenUserJS:masterfrom
Martii:someClientSidejQueryFixes

Conversation

@Martii
Copy link
Copy Markdown
Member

@Martii Martii commented Feb 10, 2015

  • IIFEs client side to prevent potential and future identifier collisions e.g. "Give a hoot, Don't Pollute" the global content scope unless we plan to support something there or someone else already does.
  • Some more STYLEGUIDE.md conformance
  • Some more white-space for readability
  • Move all view page inline scripts to .../includes/scripts where they should be for possible reuse
  • Always declare type="text/javascript" for some older browsers that don't default to JavaScript
  • Always assume and declare charset="UTF-8" for served scripts... our inline scripts should always currently be UTF-8 ... applies to Fix UTF-8 Support #200

* IIFEs client side to prevent potential and future identifier collisions e.g. "Give a hoot, Don't Pollute" the global content scope unless we plan to support something there or someone else already does.
* Some more STYLEGUIDE.md conformance
* Some more white-space for readability
* Move all view page inline scripts to `.../includes/scripts` where they should be for possible reuse
* Always declare `type="text/javascript"` for some older browsers that don't default to JavaScript
* Always assume and declare `charset="UTF-8"` for served scripts... our inline scripts should always currently be UTF-8 ... applies to OpenUserJS#200
@Martii Martii added CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. UI Pertains inclusively to the User Interface. bug You've guessed it... this means a bug is reported. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. labels Feb 10, 2015
Martii added a commit that referenced this pull request Feb 10, 2015
Some misc client side jQuery fixes

Auto-merge
@Martii Martii merged commit 941bd94 into OpenUserJS:master Feb 10, 2015
@Martii Martii deleted the someClientSidejQueryFixes branch February 10, 2015 08:50
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug You've guessed it... this means a bug is reported. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. UI Pertains inclusively to the User Interface.

Development

Successfully merging this pull request may close these issues.

1 participant